//
//  SAPFunctionViewController.m
//  CarsHome
//
//  Created by dapeng on 15/12/11.
//  Copyright © 2015年 dapeng. All rights reserved.
//

#import "SAPFunctionViewController.h"

@interface SAPFunctionViewController ()

@end

@implementation SAPFunctionViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.navigationItem.title = @"功能介绍";
    UIScrollView *scrollView = [[UIScrollView alloc] initWithFrame:self.view.bounds];
    scrollView.contentSize = CGSizeMake(0, SCREEN_SIZE.height + SCREEN_SIZE.height / 2 - 50);
    
    UIImageView *function1 = [[UIImageView alloc] initWithFrame:CGRectMake(0, 0, SCREEN_SIZE.width, SCREEN_SIZE.height - 50)];
    function1.image = [UIImage imageNamed:@"function1.jpg"];
    
    UIImageView *function2 = [[UIImageView alloc] initWithFrame:CGRectMake(0, SCREEN_SIZE.height - 50, SCREEN_SIZE.width, SCREEN_SIZE.height/2)];
    function2.image = [UIImage imageNamed:@"function2.jpg"];
    [scrollView addSubview:function1];
    [scrollView addSubview:function2];
    [self.view addSubview:scrollView];
    
    
    
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
